blob: f7446b6fd4eef60ef25958c92d57e18c276620ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# outdated, i don't really use this system anymore but i won't delete it for archival's sake
# jstmax!'s [w!] system
what is this? \
basically: in my CLI programs, I use my own warning system to warn (wow) the user about stuff that happens \
e.g. `[e!] example error: description` for errors \
in this file I'll write a list of every warning I use;
## .categoryOne, basicWarnings🤓
|warning✨|explanation📑|
|-|-|
|[e!]|used for errors, e.g. `[e!] task (taskName) failed`|
|[n!]|used for notes, e.g. `[n!] this program supports (featureName)`|
|[w!]|used for warning (lol), e.g. `[w!] using (functionName) could lead to (issueName)`|
## .categoryTwo, categorizedWarnings👻
|warning✨|explanation📑|
|-|-|
|[math_e!]|used for mathematical specific errors, e.g. `[math_e!] divided by zero!`|
|[perm_e!]|used for permissions specific errors, e.g. `[perm_e!] cannot access (folderName), insufficient permissions`|
|